﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="PhotoRank._Default" %>
 
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <link href="3rdCode/uploadify/uploadify.css" rel="stylesheet" type="text/css" />   
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <script src="3rdCode/uploadify/jquery-1.4.2.min.js" type="text/javascript"></script>
    <script src="3rdCode/uploadify/jquery.uploadify.v2.1.4.min.js" type="text/javascript"></script>
    <script src="3rdCode/uploadify/swfobject.js" type="text/javascript"></script>


    <h2>
        Welcome to Photo Rank</h2>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
         <div id="fileQueue"></div>
    <input type="file" name="uploadify" id="uploadify" />
    <p>
        <a href="javascript:$('#uploadify').uploadifyUpload()">上传</a>| 
        <a href="javascript:$('#uploadify').uploadifyClearQueue()">取消上传</a>
    </p>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#uploadify").uploadify({
                'uploader': '3rdCode/uploadify/uploadify.swf',
                'script': 'UploadHandler.ashx',
                'cancelImg': '3rdCode/uploadify/cancel.png',
                'folder': 'UploadFile',
                'queueID': 'fileQueue',
                'auto': true,
                'multi': true
            });
        });  
    </script>
    </asp:Content>
